package com.yfl.logistics.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 基础数据表
 * </p>
 *
 * @author ${author}
 * @since 2020-06-13
 */
@TableName("t_base_data")
public class BaseData implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "base_id", type = IdType.AUTO)
    private Long baseId;

    /**
     * 数据名称
     */
    private String baseName;

    /**
     * 数据描述
     */
    private String baseDesc;

    /**
     * 父id
     */
    private Long parentId;


    public Long getBaseId() {
        return baseId;
    }

    public void setBaseId(Long baseId) {
        this.baseId = baseId;
    }

    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }

    public String getBaseDesc() {
        return baseDesc;
    }

    public void setBaseDesc(String baseDesc) {
        this.baseDesc = baseDesc;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "BaseData{" +
        "baseId=" + baseId +
        ", baseName=" + baseName +
        ", baseDesc=" + baseDesc +
        ", parentId=" + parentId +
        "}";
    }
}
